package com.filemanager;

import com.filemanager.exceptions.ChangeDirectoryException;
import com.filemanager.exceptions.DirectoryCreationException;
import com.filemanager.exceptions.FileCreationException;

import java.io.File;
import java.util.Collection;

/**
 * User: vsinjavin
 * Date: 11/15/13
 */
public interface FileManager {

    void changeDirectory(String path) throws ChangeDirectoryException;

    void createFile(String fileName) throws FileCreationException;

    void createDirectory(String directoryName) throws DirectoryCreationException;

    Collection<File> getDirectoryStructure();

    Collection<File> getDirectoryStructure(String path);

    String currentPath();
}
